<script src="../media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="../media/system/js/core.js" type="text/javascript"></script>
<form action="index.php?top=page&option=com_frclub" method="post" name="adminForm" id="adminForm" class="adminform">
<!-- LEFT -->
 <?php echo $this->loadTemplate('search','default') ?>
 <!-- END LEFT -->
 
 <!-- CONTENT -->
 <div id="jm-content">
    <div class="cc title">
        <div class="id"><?php echo $this->info_ocba->OCBA_CODE; ?></div>
        <div class="cc-title">
            <p class="top"><?php echo $this->info_ocba->OCBA_KANA; ?></p>
            <p class="bot"><?php echo $this->info_ocba->OCBA_NAME; ?><span class="float-right">【<?php echo $this->info_ocba->OCBA_SHOR; ?>】</span></p>
        </div>
    </div>
    <div class="clearfix"></div>
    <div class="menu-cc">
        <ul id="nav">
        <?php 
            foreach(bgData::getMenuDetailClub() as $key=>$item){
                $acctive = 'normal';
                if(JRequest::getVar('task') == $key){
                    $acctive = 'current';
                }
         ?>
            <li class="<?php echo $acctive; ?>"><a href="index.php?top=page&option=com_frclub&task=<?php echo $key; ?>&id=<?php echo $this->info_ocba->OCBA_CODE; ?>"><?php echo $item; ?></a></li>
          <?php } ?>
            
        </ul>
    </div>
   <div class="content">
   
   <h3 class="h_title">その他情報<span style="float: right;">更新日:<?php if($this->row->OCBA_DATE!='0000-00-00 00:00:00') echo HelperBG::F_GetDate_JP($this->row->OCBA_DATE); ?></span></h3>
         <div class="info-basic">
                                            
            <div>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tbody>
                            <tr>                                        
                                <td style="width: 3%;"><label class="title_">特徴</label></td>
                                <td class="tb_3c">
                                <?php
                                    $data_list=$this->listacti;
                                ?>
                                    <?php if ($this->row->OCBA_PUTF==1){ echo '■';} else echo '□';  ?>
                                    <?php  
                                        echo $data_list[1];
                                    ?>
                                </td>
                                <td class="tb_3c">
                                    <?php if ($this->row->OCBA_LARF==1){ echo '■';} else echo '□';  ?>
                                    <?php  
                                        echo $data_list[2];
                                    ?>
                                </td>
                                <td class="tb_3c">
                                    <?php if ($this->row->OCBA_CANF==1){ echo '■';} else echo '□';  ?>
                                    <?php  
                                        echo $data_list[3];
                                    ?>
                                </td>
                                
                            </tr>
                            <tr>
                                 <td><label class="title_"></label></td>
                                <td class="tb_3c">
                                     <?php if ($this->row->OCBA_YACF==1){ echo '■';} else echo '□';  ?>
                                    <?php  
                                        echo $data_list[4];
                                    ?>
                                </td>
                                <td class="tb_3c">
                                    <?php if ($this->row->OCBA_SCHF==1){ echo '■';} else echo '□';  ?>
                                    <?php  
                                        echo $data_list[5];
                                    ?>
                                </td>
                                <td class="tb_3c">
                                    <?php if ($this->row->OCBA_OUTF==1){ echo '■';} else echo '□';  ?>
                                    <?php  
                                        echo $data_list[6];
                                    ?>
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td colspan="4"><hr /></td>
                            </tr>
                        </tbody>
                    </table>
                    
                    <table width="100%" cellpadding="0" cellspacing="0" border=0>
                        <tbody>
                            
                            <tr>
                                <td style="width:10%"><label class="title_">DM</label></td>
                                <td class="tb_4c">【郵送先】</td>
                                <td class="tb_4c"><?php echo $this->listdm[$this->row->OCBA_DM]?></td>
                                <td class="tb_4c"></td>
                                <td class="tb_4c"></td>
                                
                            </tr>
                          
                            <tr>
                                <td></td>
                                <td >【郵便番号】</td>
                                <td colspan="3">
                                    <?php 
                                    switch ($this->row->OCBA_DM) {
                                        case '0':
                                            echo $this->row->OCBA_POST;
                                            break;
                                        case '1':
                                             echo $this->row->OCBA_LPOST;
                                            break;
                                        case '2':
                                             echo $this->row->OCBA_DPOST;
                                            break;
                                    }
                                    ?>
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td style="vertical-align: top;" >【住所】</td>
                                <td colspan="3">
                                    <?php 
                                    switch ($this->row->OCBA_DM) {
                                        case '0':
                                            echo $this->row->OCBA_ADD1 . $this->row->OCBA_ADD2;
                                            break;
                                        case '1':
                                             echo $this->row->OCBA_LADD1 . $this->row->OCBA_LADD2;
                                            break;
                                        case '2':
                                             echo $this->row->OCBA_DADD1 . $this->row->OCBA_DADD2;
                                            break;
                                    }
                                    ?>
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td style="vertical-align: top;" >【宛先】</td>
                                <td colspan="3">
                                    <?php 
                                    switch ($this->row->OCBA_DM) {
                                        case '0':
                                            echo $this->row->OCBA_NAME;
                                            break;
                                        case '1':
                                             echo $this->row->OCBA_LNAME;
                                            break;
                                        case '2':
                                             echo $this->row->OCBA_DNAME;
                                            break;
                                    }
                                    ?>
                                </td>
                            </tr>
                            <tr><td colspan="5"><hr /></td></tr>
                        </tbody>
                    </table>
                    <table width="100%" cellpadding="0" cellspacing="0" border=0>
                        <tbody>
                            <tr>
                                <td style="width: 3%;"><label class="title_">その他</label></td>
                                <td style="width:140px ;">【譲渡年月日】</td>
                                <td style="width: 426px;"><?php if($this->row->OCBA_TDATE!='0000-00-00 00:00:00') echo HelperBG::F_GetDate_JP($this->row->OCBA_TDATE); ?></td>
                            </tr>
                           <tr>
                                <td><label class="title_"></label></td>
                                <td style="width:140px ;">【廃止年月日】</td>                                
                                <td style="width: 426px;"><?php if($this->row->OCBA_EDATE!='0000-00-00 00:00:00') echo HelperBG::F_GetDate_JP($this->row->OCBA_EDATE); ?></td>
                            </tr>
                            
                            <tr><td colspan="5"><hr /></td></tr>
                        </tbody>
                    </table>
                    <input type="hidden" name="task" value=""/>
                    <input type="hidden" name="boxchecked" value="0"/>
         </div>
        </div>
          
        </div>                                
    
 </div>
 </form>
 <!-- END CONTENT -->
                           